home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Bank smakow / BankSmakow.air / BankSmakow.swf / scripts / mx / utils / SecurityUtil.as < prev    next >
Text File  |  2009-12-16  |  622b  |  29 lines

  1. package mx.utils
  2. {
  3.    import mx.core.ISWFBridgeProvider;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class SecurityUtil
  9.    {
  10.       
  11.       mx_internal static const VERSION:String = "3.5.0.12683";
  12.        
  13.       
  14.       public function SecurityUtil()
  15.       {
  16.          super();
  17.       }
  18.       
  19.       public static function hasMutualTrustBetweenParentAndChild(param1:ISWFBridgeProvider) : Boolean
  20.       {
  21.          if(param1 && param1.childAllowsParent && param1.parentAllowsChild)
  22.          {
  23.             return true;
  24.          }
  25.          return false;
  26.       }
  27.    }
  28. }
  29.